<?php if($sf_user->hasAttribute($nombreSession)): ?>
<?php $listaSession = $sf_user->getAttribute($nombreSession); ?>
  <table id="resultadoescala"  >
     <tr  class="cabeceraDetalle">
         <td style="width: 200px;">Nombre </td>
         <td style="width: 200px;">Email</td>
         <td style="width: 210px;">Telefono</td>
         <td style="width: 100px;">&nbsp;</td>
         <td></td>
     </tr>
     <?php  foreach($listaSession as $obj){ ?>                        
     <tr  id="filaContacto-<?php echo $obj['id']; ?>">
         <td style="width: 160px;text-align: center"> <label id="lblNombre-<?php echo $obj['id']; ?>"><?php echo $obj['nombre'] ?></label> <input type="text" style="display: none;text-align: center;width: 170px" id="txtNombre-<?php echo $obj['id']; ?>" /> </td>
         <td style="width: 160px;text-align: center"><label id="lblEmail-<?php echo $obj['id']; ?>"><?php echo $obj['email'] ?></label> <input type="text" style="display: none;width: 170px;text-align: center;"  id="txtEmail-<?php echo $obj['id']; ?>"/></td>
         <td style="width: 170px;text-align: center"><label id="lblTelefono-<?php echo $obj['id']; ?>"><?php echo $obj['telefono'] ?></label> <input type="text" style="display: none;width: 130px;text-align: center;" id="txtTelefono-<?php echo $obj['id']; ?>" /></td>
         <td style="width: 165px;"><a title="grabar" style="display: none;" id="grabarContacto-<?php echo $obj['id']; ?>" href="javascript:editarDetalleContacto(<?php echo $obj['id']; ?>);"><?php echo image_tag('icon_save.png') ?></a><a id="editarContacto-<?php echo $obj['id']; ?>" href="javascript:changeFormatTextContacto(<?php echo $obj['id']; ?>)"><?php echo image_tag('icon_edit.png') ?></a>&nbsp;&nbsp;&nbsp;&nbsp;<a id="eliminar" href="javascript:eliminarDetalleContacto(<?php echo $obj['id']; ?>)"><?php echo image_tag('icon_delete.png') ?></a></td>
     </tr>
        <?php }; ?>
  </table>
<?php endif; ?>